package com.example.cloud.model.business.medical;

import com.example.cloud.model.common.CommonModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * Created by ygl on 2017/4/9.
 * 皮肤班帖实验
 */
@Entity(name = "skin_patch")
@Data
@EqualsAndHashCode(callSuper = false)
public class SkinPatch extends CommonModel {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    // 患者
    @Column(name = "patient_id")
    private Long patientId;
    // 主诉
    @Column(name = "complaint_id")
    private Long complaintId;
    // 补充内容
    @Column(name = "supplement_content")
    private String supplementContent;
    // 实验员
    @Column(name = "experimenter")
    private String experimenter;
    // 诊断医师
    @Column(name = "doctor")
    private String doctor;
}
